package com.wei.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 费用
 * @author weichuanyuan
 * @version 1.0
 * @date 2021/8/28 21:54
 */
@Data
@EqualsAndHashCode
@NoArgsConstructor
public class Charge  implements Serializable {
    /**
     * 费用ID
     */
    @TableId(value="tc_charge_id",type = IdType.AUTO )
    private Integer chargeId;
    /**
     * 费用类型
     */
    private String chargeType;
    /**
     * 费用金额
     */
    private BigDecimal chargeAmount;
    /**
     * 费用时间
     */
    private Date chargeTime;
}
